Spread WinForms 15
FarPoint.Excel Assembly / FarPoint.Excel Namespace / SheetViewSynchronizer Class / SetColumns(IExcelRead,CT_Col[],Int16,Single,Double,Boolean,Dictionary<Int32,Int32>) Method
GrapeCity Spread
Worksheet
Index of the sheet
Width of the character
Width of the default column
Whether need to extend


In This Topic
SetColumns(IExcelRead,CT_Col[],Int16,Single,Double,Boolean,Dictionary<Int32,Int32>) Method
In This Topic
Sets the columns.
Syntax
'Declaration
 
Public Shared Sub SetColumns( _
   ByVal spread As IExcelRead, _
   ByVal cols() As CT_Col, _
   ByVal sheetIndex As Short, _
   ByVal charWidth As Single, _
   ByVal defaultColWidth As Double, _
   ByVal needExtend As Boolean, _
   ByRef colInfo As Dictionary(Of Integer,Integer) _
) 
 
'Usage
 
Dim spread As IExcelRead
Dim cols() As CT_Col
Dim sheetIndex As Short
Dim charWidth As Single
Dim defaultColWidth As Double
Dim needExtend As Boolean
Dim colInfo As Dictionary(Of Integer,Integer)
 
SheetViewSynchronizer.SetColumns(spread, cols, sheetIndex, charWidth, defaultColWidth, needExtend, colInfo)

Parameters

spread
GrapeCity Spread
cols
Worksheet
sheetIndex
Index of the sheet
charWidth
Width of the character
defaultColWidth
Width of the default column
needExtend
Whether need to extend
colInfo
See Also